<!--
 * @Descripttion: 
 * @version: 
 * @Author: congsir
 * @Date: 2023-11-05 21:29:54
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-11-06 23:25:02
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css" />
    <link rel="stylesheet" href="./css/common.css" />
  </head>
  <style>
    .main {
      height: 100px;
    }
    .news-section {
      display: flex;
      height: 342px;
      background: url(./img/news_bg.png);
    }

    .news-section .banner {
      width: 605px;
    }
    .news-section .banner .image-list {
      display: flex;
      width: 604px;
      overflow: hidden;
    }
    .news-section .banner .image-list .item {
      flex-shrink: 0;
      width: 100%;
    }
    .news-section .banner .image-list a {
      display: block;
    }
    .news-section .banner .image-list .item a img {
      width: 100%;
    }
    .news-section .banner .title-list {
      display: flex;
      height: 44px;
      line-height: 44px;
    }
    .news-section .banner .title-list .item {
      flex: 1;
      text-align: center;
    }
    .news-section .banner .title-list .item a {
      display: block;
      font-size: 14px;
      color: #b1b2be;
    }
    .news-section .banner .title-list .item.active a,
    .news-section .banner .title-list .item a:hover {
      color: #f3c258;
      background-color: rgba(255, 255, 255, 0.15);
    }

    .news-section .news {
      flex: 1;
      padding: 0 17px;
      overflow: hidden; /* 这里添加后就阔以是溢出省略 */
    }
    .news-section .news .title-list {
      display: flex;
      height: 48px;
      border-bottom: 1px solid #000;
    }
    .news-section .news .notice {
      height: 36px;
      line-height: 36px;
      margin-top: 18px;
      padding: 0 15px;
      background: #414046;
    }
    .news-section .news .notice > a {
      display: block;
      font-size: 18px;
      color: #f3c258;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    .news-section .news .title-list .item {
      width: 52px;
    }
    .news-section .news .title-list .item a {
      display: block;
      height: 48px;
      box-sizing: border-box;
      line-height: 48px;
      /* 这里添加border的时候高度不会改变，文字不会有跳动的效果，文字是和line-height有关，line-height不变，文字不跳 */
      text-align: center;
      color: #b8b9c5;
      transition: border-bottom 150ms ease-in-out;
    }
    .news-section .news .title-list .item.active a,
    /* 否定伪类 */
    .news-section .news .title-list .item:not(.more) a:hover {
      border-bottom: 3px solid #f3c258;
      /* 这个时候boder是从上往下进行动画的,让高度为48，添加box-sizing */
      color: #f3c258;
    }
    /* .news-section .news .title-list .item.more a:hover {
      color: #b8b9c5;
      border-bottom-color: transparent;
    } */

    .news-section .download {
      width: 236px;
      background-color: orangered;
    }
    .news-section .download a {
      display: block;
      background: url(./img/main_sprite.png) no-repeat;
    }
    .news-section .download a.download-btn {
      height: 128px;
      background-position: 0 -219px;
    }
    .news-section .download a.guard-btn {
      height: 106px;
      background-position: 0 -350px;
    }
    .news-section .download a.experience-btn {
      height: 108px;
      background-position: 0 -461px;
    }
  </style>
  <body>
    <!-- .main.main_wrapper -->
    <div class="main main_wrapper">
      <div class="news-section">
        <div class="banner">
          <ul class="image-list">
            <li class="item">
              <a href="#">
                <img src="./img/banner_01.jpeg" alt="" />
              </a>
            </li>
            <li class="item">
              <a href="#">
                <img src="./img/banner_01.jpeg" alt="" />
              </a>
            </li>
            <li class="item">
              <a href="#"><img src="./img/banner_01.jpeg" alt="" /></a>
            </li>
          </ul>
          <ul class="title-list">
            <li class="item active">
              <a href="#">桑启的旅途故事</a>
            </li>
            <li class="item">
              <a href="#">启示之音抢先听</a>
            </li>
            <li class="item">
              <a href="#">谁成为版本之子</a>
            </li>
            <li class="item">
              <a href="#">观赛体验升级</a>
            </li>
            <li class="item">
              <a href="#">季后赛开战</a>
            </li>
          </ul>
        </div>
        <div class="news">
          <ul class="title-list">
            <li class="item active"><a href="#"> 热门 </a></li>
            <li class="item"><a href="#"> 新闻 </a></li>
            <li class="item"><a href="#"> 公告 </a></li>
            <li class="item"><a href="#"> 活动 </a></li>
            <li class="item"><a href="#"> 赛事 </a></li>
            <li class="item more"><a href="#">…</a></li>
          </ul>
          <p class="notice">
            <a href="#"
              >4月21日全服不停机更新服不停机更服不停机更服不停机更服不停机更公告</a
            >
          </p>
          <ul class="news-list"></ul>
        </div>
        <div class="download">
          <a class="download-btn" href="#"></a>
          <a class="guard-btn" href="#"></a>
          <a class="experience-btn" href="#"></a>
        </div>
      </div>
      <div class="content-section"></div>
      <div class="match-section"></div>
    </div>
  </body>
</html>
